﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Navigation;

using VideoPlay.Adapters;
using VideoPlay.Services;

namespace VideoPlay.PhoneClient.ViewModels
{
    public class PlayVideoViewModel : ViewModel
    {
        public PlayVideoViewModel(
            INavigationService navigationService,
            IPhoneService phoneService,
            IndicatorViewModel indicator)
            : base(navigationService, phoneService, indicator, new Uri(@"/Views/PlayVideoView.xaml", UriKind.Relative))
        {
            
        }

        private string videoUrl;
        public string VideoUrl
        {
            get { return this.videoUrl; }
            set
            {
                this.videoUrl = value;
                this.RaisePropertyChanged(() => this.VideoUrl);
            }
        }

        public override void OnPageResumeFromTombstoning()
        {

        }
    }
}
